package reflectCus.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface AutoRunMethod {
    //元注解的参数，default为默认值，不写的话被调用需要传参
    int vectore();
    String value()default "魔人";//有默认值，调用元注解时，默认有值，赋值则覆盖
    int name()default 2;
    int runTimes();
}
